/**
 * 
 */
package com.feib.stms.model;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Jimmy Liu
 *
 */
public class TempUploadFile extends AuditEntity
{
	private static final long serialVersionUID = -1539433011030831359L;
	
	public static final Integer FILE_STATUS_IN_IMPORT = new Integer(0);
	
	public static final Integer FILE_STATUS_FILE_NAME_INVALID = new Integer(10);
	
	public static final Integer FILE_STATUS_CONTENT_INVALID = new Integer(20);
	
	public static final Integer FILE_STATUS_EXCEPTION = new Integer(30);
	
	public static final Integer FILE_STATUS_IMPORT_OK = new Integer(40);

	/**
	 * PK in Table
	 */
	private Long tempUploadFilePk;

	private UploadFile uploadFile = new UploadFile();

	/**
	 * 檔案狀態<br/>
	 * <ul>				
	 * <li>0: 轉入中</li>
	 * <li>10: 檔案名稱有誤</li>
	 * <li>20: 檔案內容有誤</li>
	 * <li>30: 系統發生錯誤</li>
	 * <li>40: 檢查通過</li>
	 * </ul>
	 */
	public Integer getFileStatus() {
		return uploadFile.getFileStatus();
	}

	public Long getTempUploadFilePk() {
		return tempUploadFilePk;
	}

	public void setTempUploadFilePk(Long tempUploadFilePk) {
		this.tempUploadFilePk = tempUploadFilePk;
	}

	public String getBankBracnchNo() {
		return uploadFile.getBankBracnchNo();
	}

	public Integer getCheckCount() {
		return uploadFile.getCheckCount();
	}

	public Integer getConfirmCount() {
		return uploadFile.getConfirmCount();
	}

	public String getCreatedBy() {
		return uploadFile.getCreatedBy();
	}

	public Date getCreatedDate() {
		return uploadFile.getCreatedDate();
	}

	public Date getDeliveryDate() {
		return uploadFile.getDeliveryDate();
	}

	public String getFileFormat() {
		return uploadFile.getFileFormat();
	}

	public String getFileName() {
		return uploadFile.getFileName();
	}

	public String getFilePathOnServer() {
		return uploadFile.getFilePathOnServer();
	}

	public String getFileSn() {
		return uploadFile.getFileSn();
	}

	public Group getGroup() {
		return uploadFile.getGroup();
	}

	public String getSecuritiesNo() {
		return uploadFile.getSecuritiesNo();
	}

	public String getStockType() {
		return uploadFile.getStockType();
	}

	public BigDecimal getTotalAmount() {
		return uploadFile.getTotalAmount();
	}

	public Long getTotalItems() {
		return uploadFile.getTotalItems();
	}

	public BigDecimal getTotalNetIncome() {
		return uploadFile.getTotalNetIncome();
	}

	public Long getTotalNetIncomeCount() {
		return uploadFile.getTotalNetIncomeCount();
	}

	public BigDecimal getTotalNetPay() {
		return uploadFile.getTotalNetPay();
	}

	public Long getTotalNetPayCount() {
		return uploadFile.getTotalNetPayCount();
	}

	public String getUpdatedBy() {
		return uploadFile.getUpdatedBy();
	}

	public Date getUpdatedDate() {
		return uploadFile.getUpdatedDate();
	}

	public Date getUploadDate() {
		return uploadFile.getUploadDate();
	}

	public User getUploadUser() {
		return uploadFile.getUploadUser();
	}

	public void setBankBracnchNo(String bankBracnchNo) {
		uploadFile.setBankBracnchNo(bankBracnchNo);
	}

	public void setCheckCount(Integer checkCount) {
		uploadFile.setCheckCount(checkCount);
	}

	public void setConfirmCount(Integer confirmCount) {
		uploadFile.setConfirmCount(confirmCount);
	}

	public void setCreatedBy(String createdBy) {
		uploadFile.setCreatedBy(createdBy);
	}

	public void setCreatedDate(Date createdDate) {
		uploadFile.setCreatedDate(createdDate);
	}

	public void setDeliveryDate(Date deliveryDate) {
		uploadFile.setDeliveryDate(deliveryDate);
	}

	public void setFileFormat(String fileFormat) {
		uploadFile.setFileFormat(fileFormat);
	}

	public void setFileName(String fileName) {
		uploadFile.setFileName(fileName);
	}

	public void setFilePathOnServer(String filePathOnServer) {
		uploadFile.setFilePathOnServer(filePathOnServer);
	}

	public void setFileSn(String fileSn) {
		uploadFile.setFileSn(fileSn);
	}

	public void setFileStatus(Integer fileStatus) {
		uploadFile.setFileStatus(fileStatus);
	}

	public void setGroup(Group group) {
		uploadFile.setGroup(group);
	}

	public void setSecuritiesNo(String securitiesNo) {
		uploadFile.setSecuritiesNo(securitiesNo);
	}

	public void setStockType(String stockType) {
		uploadFile.setStockType(stockType);
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		uploadFile.setTotalAmount(totalAmount);
	}

	public void setTotalItems(Long totalItems) {
		uploadFile.setTotalItems(totalItems);
	}

	public void setTotalNetIncome(BigDecimal totalNetIncome) {
		uploadFile.setTotalNetIncome(totalNetIncome);
	}

	public void setTotalNetIncomeCount(Long totalNetIncomeCount) {
		uploadFile.setTotalNetIncomeCount(totalNetIncomeCount);
	}

	public void setTotalNetPay(BigDecimal totalNetPay) {
		uploadFile.setTotalNetPay(totalNetPay);
	}

	public void setTotalNetPayCount(Long totalNetPayCount) {
		uploadFile.setTotalNetPayCount(totalNetPayCount);
	}

	public void setUpdatedBy(String updatedBy) {
		uploadFile.setUpdatedBy(updatedBy);
	}

	public void setUpdatedDate(Date updatedDate) {
		uploadFile.setUpdatedDate(updatedDate);
	}

	public void setUploadDate(Date uploadDate) {
		uploadFile.setUploadDate(uploadDate);
	}

	public void setUploadUser(User uploadUser) {
		uploadFile.setUploadUser(uploadUser);
	}

	public String getDealType() {
		return uploadFile.getDealType();
	}

	public void setDealType(String dealType) {
		uploadFile.setDealType(dealType);
	}

	public String getFileFormatName() {
		return uploadFile.getFileFormatName();
	}

	public String getFileStatusName() {
		return uploadFile.getFileStatusName();
	}

	public void setFileFormatName(String fileFormatName) {
		uploadFile.setFileFormatName(fileFormatName);
	}

	public void setFileStatusName(String fileStatusName) {
		uploadFile.setFileStatusName(fileStatusName);
	}
	
	public String getDesKey() {
		return uploadFile.getDesKey();
	}

	public void setDesKey(String desKey) {
		uploadFile.setDesKey(desKey);
	}
	
	public Long getChksum() {
		return uploadFile.getChksum();
	}

	public void setChksum(Long chksum) {
		uploadFile.setChksum(chksum);
	}

	public String getFormatedChksum() {
		return uploadFile.getFormatedChksum();
	}

	public String getFileMd5() {
		return uploadFile.getFileMd5();
	}

	public void setFileMd5(String fileMd5) {
		uploadFile.setFileMd5(fileMd5);
	}
	

	public String getPreDesignatedAccount() {
		return uploadFile.getPreDesignatedAccount();
	}

	public void setPreDesignatedAccount(String preDesignatedAccount) {
		uploadFile.setPreDesignatedAccount(preDesignatedAccount);
	}
	

	public String getSignerCert() {
		return uploadFile.getSignerCert();
	}

	public void setSignerCert(String signerCert) {
		uploadFile.setSignerCert(signerCert);
	}
	
	
	
}
